-- GENERATED SPELL FOR [Highland Fleshstalker] --


function spell0_2561(pUnit, Event) --@Consume Flesh,Heal--
pUnit:FullCastSpellOnTarget(3393,pUnit)
pUnit:RegisterEvent('Sorts_2561', 586, 1)
end

function Sorts_2561(pUnit, Event)
local choix_sorts_2561 = math.random(0, 0)
if choix_sorts_2561 == 0 then
pUnit:RegisterEvent('spell0_2561', 1, 1)
end
end

function mob2561_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_2561', math.random(1500, 3000), 1)
end

function mob2561_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob2561_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob2561_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(2561, 1, 'mob2561_Action')
RegisterUnitEvent(2561, 2, 'mob2561_Leave')
RegisterUnitEvent(2561, 3, 'mob2561_Kill')
RegisterUnitEvent(2561, 4, 'mob2561_Die')
